package com.zone.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zone.common.core.annotation.Excel;
import com.zone.common.core.web.domain.BaseEntity;

/**
 * 款箱出入库记录对象 zone_box_inout_record
 * 
 * @author liuyang
 * @date 2025-10-31
 */
public class BoxInoutRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID，自增 */
    private Long id;

    /** 款箱编号 */
    @Excel(name = "款箱编号")
    private String boxId;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String boxStatus;

    /** 入出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inoutTime;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 入出库调度者 */
    @Excel(name = "入出库调度者")
    private String inoutBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBoxId(String boxId) 
    {
        this.boxId = boxId;
    }

    public String getBoxId() 
    {
        return boxId;
    }

    public void setBoxStatus(String boxStatus) 
    {
        this.boxStatus = boxStatus;
    }

    public String getBoxStatus() 
    {
        return boxStatus;
    }

    public void setInoutTime(Date inoutTime) 
    {
        this.inoutTime = inoutTime;
    }

    public Date getInoutTime() 
    {
        return inoutTime;
    }

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }

    public void setInoutBy(String inoutBy) 
    {
        this.inoutBy = inoutBy;
    }

    public String getInoutBy() 
    {
        return inoutBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("boxId", getBoxId())
            .append("boxStatus", getBoxStatus())
            .append("inoutTime", getInoutTime())
            .append("taskId", getTaskId())
            .append("inoutBy", getInoutBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
